package com.wfs.myapp.service;

import com.wfs.myapp.common.ApiResult;
import com.wfs.myapp.entity.dto.req.bk.AddGroupReqDto;
import com.wfs.myapp.entity.dto.req.bk.ApproveReqDto;
import com.wfs.myapp.entity.dto.req.bk.GenerateTalkRecordReqDto;
import com.wfs.myapp.entity.dto.req.bk.JoinGroupReqDto;
import com.wfs.myapp.entity.vo.GroupListVo;

import javax.validation.Valid;
import java.util.List;

public interface BkGroupService {

    ApiResult<?> addOrUpdate(Long userId, AddGroupReqDto addGroupReqDto);

    ApiResult<?> join(Long userId, JoinGroupReqDto joinGroupReqDto);

    ApiResult<?> myGroupList(Long userId, Integer page, Integer size);

    ApiResult<?> info(String groupId);

    ApiResult<?> groupProcess(Long userId, ApproveReqDto joinGroupReqDto);

    ApiResult<?> delete(Long userId, JoinGroupReqDto joinGroupReqDto);

    ApiResult<?> groupList(Long userId, Long groupId, Integer page, Integer size);

    ApiResult<List<GroupListVo>> getSameGroup(Long userId, Long myUserId);

}
